package com.fy.tt.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaoliang
 * @since 2021-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@TableName("bls_sentence")
//@ApiModel(value="Sentence对象", description="")
@Table(name = "bls_sentence")
public class Sentence implements Serializable {

    private static final long serialVersionUID = 1L;

    //    @TableId(value = "id", type = IdType.AUTO)
    @Id
    @Column(name = "id")
    private Integer id;

    //    @ApiModelProperty(value = "句子本身")
    @Column(name = "name")
    private String name;

    //    @ApiModelProperty(value = "相关描述")
    @Column(name = "description")
    private String description;

    //    @ApiModelProperty(value = "句型的巴克斯范式表示")
    @Column(name = "paradigm")
    private String paradigm;

    //    @ApiModelProperty(value = "最近一次更新时间")
//    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Column(name = "update_time")
    private Date updateTime;

    //    @ApiModelProperty(value = "0:未录入，1：已录入")
    @Column(name = "is_type_in")
    private Integer isTypeIn;

    //    @ApiModelProperty(value = "0:禁用 1：待开发 2： 开发中 3：待审核 4：待发布 5：已发布")
    @Column(name = "status")
    private Integer status;

    //    @ApiModelProperty(value = "所属场景区id（ObjBandID）")
    @Column(name = "band_obj_id")
    private Long bandObjId;

}
